package com.yueguang.springai.inode.impl;

import com.yueguang.springai.context.OrderContext;
import com.yueguang.springai.inode.INodeComponent;
import com.yueguang.springai.model.param.OrderParam;
import com.yueguang.springai.rule.RuleB;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@RuleB
@Order(20)
public class ENodeComponent implements INodeComponent {
    @Resource
    private HNodeComponent hNodeComponent;
    @Override
    public void handleData(OrderContext orderContext, OrderParam orderParam) {
        log.info("RuleB流程执行处理业务节点E-JD业务处理");
        hNodeComponent.handleData(orderContext, orderParam);
    }
}
